using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WidgetsDesign.API.Models
{
    [Table("DictData")]
    public class Dict 
    {
        [Key]
        [Column("dict_code")]
        public int Code { get; set; }
        [Column("dict_key")]
        public string Key { get; set; }
        [Column("dict_sort")]
        public string Sort { get; set; }
        [Column("dict_label")]
        public string Label { get; set; }
        [Column("dict_value")]
        public string Value { get; set; }
        [Column("dict_type")]
        public string Type { get; set; }
        [Column("status")]
        public string Status { get; set; }
        [Column("remark")]
        public string Remark { get; set; }
    }
}